package com.lili.operate.entity.distribution;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@AllArgsConstructor
@NoArgsConstructor
@ApiModel(value = "分销商品")
@TableName(value = "li_distribution_goods")
public class DistributionGoods {
    @TableId(value = "id", type = IdType.ASSIGN_ID)
    String id;
    @ApiModelProperty(value = "创建者")
    String create_by;
    @ApiModelProperty(value = "创建时间")
    String create_time;
    @ApiModelProperty(value = "佣金金额")
    double commission;
    @ApiModelProperty(value = "商品id")
    String goods_id;
    @ApiModelProperty(value = "商品名称")
    String goods_name;
    @ApiModelProperty(value = "商品价格")
    double price;
    @ApiModelProperty(value = "库存")
    int quantity;
    @ApiModelProperty(value = "店铺id")
    String store_id;
    @ApiModelProperty(value = "规格id")
    String sku_id;
    @ApiModelProperty(value = "规格信息json")
    String specs;
    @ApiModelProperty(value = "缩略图路径")
    String thumbnail;
    @ApiModelProperty(value = "storeName")
    String store_name;
}
